// 轮播图api
import http from '../../config';
var querystring = require('querystring');
export default {
    // 获取分页
    getIndexCarouselPage(params) {
        return http.get(
            '/api/getIndexCarouselPage', {
            'params': params
        }
        );
    },
    //详情
    getIndexCarousel(params) {
        return http.get(
            '/api/getIndexCarousel', {
            'params': params
        }
        );
    },
    // 添加
    addIndexCarousel(params) {
        return http.post(
            '/api/addIndexCarousel', params
        );
    },
    //编辑
    modifyIndexCarousel(params) {
        return http.post(
            '/api/modifyIndexCarousel', params
        );
    },
    //删除
    deleteIndexCarousel(params) {
        return http.post(
            '/api/deleteIndexCarousel', params
        );
    },
}